package com.woniu.shop.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaohuang
 * @since 2022-11-16
 */
@Getter
@Setter
@TableName("c_service_item")
@ApiModel(value = "ServiceItem对象")
public class ServiceItem implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("主键，自增")
      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("门店id")
      private Integer shopId;

      @ApiModelProperty("服务类型id")
      private Integer serviceTypeId;

      @ApiModelProperty("项目名称")
      private String projectName;

      @ApiModelProperty("价格")
      private Long price;

      @ApiModelProperty("介绍")
      private String introduce;

      @ApiModelProperty("是否上架：0 未上架 ，1 已上架")
      private Integer isShelves;

      @ApiModelProperty("是否发布：0 未发布 ，1 已发布")
      private Integer isRelease;

      @ApiModelProperty("服务图片")
      private String projectImg;

      @ApiModelProperty("逻辑删除 1（true）已删除， 0（false）未删除")
      @TableLogic
      private Byte isDeleted;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

}
